package com.example.demo.liteflow;

import com.example.demo.entity.Person;
import com.yomahub.liteflow.core.NodeComponent;
import org.springframework.stereotype.Component;

@Component("c")
public class CCmp extends NodeComponent {

    @Override
    public void process() {
        //do your business
        Person personContext = this.getContextBean(Person.class);
        System.out.println(personContext.toString());
        System.out.println(3);
    }
}

